<extend name="Public/common"/>
<block name="othercss">
<style>
    .jypjSum .j5{
        text-align: center;
    }
</style>
</block>
<block name="body">
<div class="mian" style="background-color: #f4f4f4">
    <div class="help">
        <div class="box">
            <div class="loc"><i class="icon iconloc"></i>您现在在这里：<a href="{:urlrotue('/')}">百宝库</a> > <a href="{:urlrotue('Member/index')}">个人中心</a> > <span class="on">交易评价</span>
            </div>
            <div class="clearfix help_list">
                <div class="right">
                    <div class="href-a">
                        <a href="{:urlrotue('Member/comment')}" class="on">商品评价</a>
                        <a href="{:urlrotue('Member/comment_record')}">我的评价记录</a>
                    </div>
                    <h2 class="title">交易评价</h2>
                    <div class="jypjSum">
                        <ul class="title clearfix">
                            <li class="j1">评价商品</li>
                            <li class="j2">数量</li>
                            <li class="j3">金额（元）</li>
                            <li class="j4">购买日期 </li>
                            <li class="j5">操作</li>
                        </ul>
                        
                    <empty name="list">
                    <div class="lans_no">暂无评价的商品</div>
                    </empty>
                        <ul class="jypj-table">
                         <foreach name="list" item="item">
                            <li>
                                <div class="top clearfix">&nbsp;&nbsp;&nbsp;订单编号：{$item.order_no}</div>
                                <table>
                                    <tr>
                                        <td class="j1">
                                            <a class="clearfix"  href="{:urlrotue('Goods/index',Array('id'=>$item['goods_id']))}" target="_blank">
                                                <div class="lans">{$item.goods_name}
                                                <div class="spec">{$item.goods_spec}</div>
                                                </div>
                                                <div class="imgs">
                                                <img src="__ROOT__{$item.goods_picture}" width="80" height="80"  alt="{$item.goods_name}" /> </div>
                                            </a>
                                        </td>
                                        <td class="j2">{$item.goods_num}</td>
                                        <td class="j3">{$item['goods_price']*$item['goods_num']}</td>
                                        <td class="j4">
                                           {$item.time_create|stringtime=2}
                                        </td>
                                        <td class="j5">
                                           
                                            <a class="btn"  href="{:U('comment_add',array('id'=>$item['id']))}">点击评价</a>
                                        </td>
                                    </tr>
                                </table>
                            </li>
                           </foreach>
                          
                        </ul>
                         <div class="pagetion">
                          {$page}
                        </div>
                    </div>
                </div>
                
                
                <include file="Member:left_menu"/>
            </div>
        </div>
    </div>
</div>
</block>
<block name="otherjs">

</block>



